{% extends 'file_view_react.html' %}
{% load render_bundle from webpack_loader %}
{% load seahub_tags %}

{% block extra_style %}
{% render_bundle 'viewDataGrid' 'css' %}
{% endblock %}

{% block extra_data %}
  workspaceID: '{{ workspace_id }}',
  dtableUuid: '{{ dtable_uuid }}',
  mediaUrl: '{{ media_url }}',
  dtableServer: '{{ dtable_server }}',
  dtableSocket: '{{ dtable_socket }}'
{% endblock %}

{% block render_bundle %}
{% render_bundle 'viewDataGrid' 'js' %}
{% endblock %}
